3.2.58 \(\int \frac {\tanh ^6(c+d x)}{(a+b \text {sech}^2(c+d x))^3} \, dx\) [158]
Optimal. Leaf size=148 \[ \frac {x}{a^3}-\frac {\sqrt {a+b} \left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {b} \tanh (c+d x)}{\sqrt {a+b}}\right )}{8 a^3 b^{5/2} d}-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a+b-b \tanh ^2(c+d x)\right )^2}+\frac {(3 a-4 b) (a+b) \tanh (c+d x)}{8 a^2 b^2 d \left (a+b-b \tanh ^2(c+d x)\right )} \]
[Out]
x/a^3-1/8*(3*a^2-4*a*b+8*b^2)*arctanh(b^(1/2)*tanh(d*x+c)/(a+b)^(1/2))*(a+b)^(1/2)/a^3/b^(5/2)/d-1/4*(a+b)*tan
h(d*x+c)^3/a/b/d/(a+b-b*tanh(d*x+c)^2)^2+1/8*(3*a-4*b)*(a+b)*tanh(d*x+c)/a^2/b^2/d/(a+b-b*tanh(d*x+c)^2)
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {4226, 2000,
481, 592, 536, 212, 214} \begin {gather*} \frac {x}{a^3}+\frac {(3 a-4 b) (a+b) \tanh (c+d x)}{8 a^2 b^2 d \left (a-b \tanh ^2(c+d x)+b\right )}-\frac {\sqrt {a+b} \left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {b} \tanh (c+d x)}{\sqrt {a+b}}\right )}{8 a^3 b^{5/2} d}-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a-b \tanh ^2(c+d x)+b\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[Tanh[c + d*x]^6/(a + b*Sech[c + d*x]^2)^3,x]
[Out]
x/a^3 - (Sqrt[a + b]*(3*a^2 - 4*a*b + 8*b^2)*ArcTanh[(Sqrt[b]*Tanh[c + d*x])/Sqrt[a + b]])/(8*a^3*b^(5/2)*d) -
((a + b)*Tanh[c + d*x]^3)/(4*a*b*d*(a + b - b*Tanh[c + d*x]^2)^2) + ((3*a - 4*b)*(a + b)*Tanh[c + d*x])/(8*a^
2*b^2*d*(a + b - b*Tanh[c + d*x]^2))
Rule 212
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
/; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])
Rule 214
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]
Rule 481
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[(-a)*e^(
2*n - 1)*(e*x)^(m - 2*n + 1)*(a + b*x^n)^(p + 1)*((c + d*x^n)^(q + 1)/(b*n*(b*c - a*d)*(p + 1))), x] + Dist[e^
(2*n)/(b*n*(b*c - a*d)*(p + 1)), Int[(e*x)^(m - 2*n)*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*Simp[a*c*(m - 2*n + 1)
+ (a*d*(m - n + n*q + 1) + b*c*n*(p + 1))*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, q}, x] && NeQ[b*c - a*d, 0]
&& IGtQ[n, 0] && LtQ[p, -1] && GtQ[m - n + 1, n] && IntBinomialQ[a, b, c, d, e, m, n, p, q, x]
Rule 536
Int[((e_) + (f_.)*(x_)^(n_))/(((a_) + (b_.)*(x_)^(n_))*((c_) + (d_.)*(x_)^(n_))), x_Symbol] :> Dist[(b*e - a*f
)/(b*c - a*d), Int[1/(a + b*x^n), x], x] - Dist[(d*e - c*f)/(b*c - a*d), Int[1/(c + d*x^n), x], x] /; FreeQ[{a
, b, c, d, e, f, n}, x]
Rule 592
Int[((g_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_)*((e_) + (f_.)*(x_)^(n_)), x
_Symbol] :> Simp[g^(n - 1)*(b*e - a*f)*(g*x)^(m - n + 1)*(a + b*x^n)^(p + 1)*((c + d*x^n)^(q + 1)/(b*n*(b*c -
a*d)*(p + 1))), x] - Dist[g^n/(b*n*(b*c - a*d)*(p + 1)), Int[(g*x)^(m - n)*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*S
imp[c*(b*e - a*f)*(m - n + 1) + (d*(b*e - a*f)*(m + n*q + 1) - b*n*(c*f - d*e)*(p + 1))*x^n, x], x], x] /; Fre
eQ[{a, b, c, d, e, f, g, q}, x] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m - n + 1, 0]
Rule 2000
Int[(u_)^(p_.)*(v_)^(q_.)*((e_.)*(x_))^(m_.), x_Symbol] :> Int[(e*x)^m*ExpandToSum[u, x]^p*ExpandToSum[v, x]^q
, x] /; FreeQ[{e, m, p, q}, x] && BinomialQ[{u, v}, x] && EqQ[BinomialDegree[u, x] - BinomialDegree[v, x], 0]
&& !BinomialMatchQ[{u, v}, x]
Rule 4226
Int[((a_) + (b_.)*sec[(e_.) + (f_.)*(x_)]^(n_))^(p_.)*((d_.)*tan[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> With[
{ff = FreeFactors[Tan[e + f*x], x]}, Dist[ff/f, Subst[Int[(d*ff*x)^m*((a + b*(1 + ff^2*x^2)^(n/2))^p/(1 + ff^2
*x^2)), x], x, Tan[e + f*x]/ff], x]] /; FreeQ[{a, b, d, e, f, m, p}, x] && IntegerQ[n/2] && (IntegerQ[m/2] ||
EqQ[n, 2])
Rubi steps
\begin {align*} \int \frac {\tanh ^6(c+d x)}{\left (a+b \text {sech}^2(c+d x)\right )^3} \, dx &=\frac {\text {Subst}\left (\int \frac {x^6}{\left (1-x^2\right ) \left (a+b \left (1-x^2\right )\right )^3} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {x^6}{\left (1-x^2\right ) \left (a+b-b x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a+b-b \tanh ^2(c+d x)\right )^2}+\frac {\text {Subst}\left (\int \frac {x^2 \left (3 (a+b)+(-3 a+b) x^2\right )}{\left (1-x^2\right ) \left (a+b-b x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{4 a b d}\\ &=-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a+b-b \tanh ^2(c+d x)\right )^2}+\frac {(3 a-4 b) (a+b) \tanh (c+d x)}{8 a^2 b^2 d \left (a+b-b \tanh ^2(c+d x)\right )}-\frac {\text {Subst}\left (\int \frac {(3 a-4 b) (a+b)+\left (-3 a^2+a b-4 b^2\right ) x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )} \, dx,x,\tanh (c+d x)\right )}{8 a^2 b^2 d}\\ &=-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a+b-b \tanh ^2(c+d x)\right )^2}+\frac {(3 a-4 b) (a+b) \tanh (c+d x)}{8 a^2 b^2 d \left (a+b-b \tanh ^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\tanh (c+d x)\right )}{a^3 d}-\frac {\left ((a+b) \left (3 a^2-4 a b+8 b^2\right )\right ) \text {Subst}\left (\int \frac {1}{a+b-b x^2} \, dx,x,\tanh (c+d x)\right )}{8 a^3 b^2 d}\\ &=\frac {x}{a^3}-\frac {\sqrt {a+b} \left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {b} \tanh (c+d x)}{\sqrt {a+b}}\right )}{8 a^3 b^{5/2} d}-\frac {(a+b) \tanh ^3(c+d x)}{4 a b d \left (a+b-b \tanh ^2(c+d x)\right )^2}+\frac {(3 a-4 b) (a+b) \tanh (c+d x)}{8 a^2 b^2 d \left (a+b-b \tanh ^2(c+d x)\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(515\) vs. \(2(148)=296\).
time = 3.82, size = 515, normalized size = 3.48 \begin {gather*} \frac {(a+2 b+a \cosh (2 (c+d x))) \text {sech}^6(c+d x) \left (-\frac {2 \left (3 a^3-a^2 b+4 a b^2+8 b^3\right ) \tanh ^{-1}\left (\frac {\text {sech}(d x) (\cosh (2 c)-\sinh (2 c)) ((a+2 b) \sinh (d x)-a \sinh (2 c+d x))}{2 \sqrt {a+b} \sqrt {b (\cosh (c)-\sinh (c))^4}}\right ) (a+2 b+a \cosh (2 (c+d x)))^2 (\cosh (2 c)-\sinh (2 c))}{\sqrt {a+b} \sqrt {b (\cosh (c)-\sinh (c))^4}}+\text {sech}(2 c) \left (8 b^2 \left (3 a^2+8 a b+8 b^2\right ) d x \cosh (2 c)+16 a b^2 (a+2 b) d x \cosh (2 d x)+4 a^2 b^2 d x \cosh (2 (c+2 d x))+16 a^2 b^2 d x \cosh (4 c+2 d x)+32 a b^3 d x \cosh (4 c+2 d x)+4 a^2 b^2 d x \cosh (6 c+4 d x)-9 a^4 \sinh (2 c)-15 a^3 b \sinh (2 c)+18 a^2 b^2 \sinh (2 c)+72 a b^3 \sinh (2 c)+48 b^4 \sinh (2 c)+9 a^4 \sinh (2 d x)+13 a^3 b \sinh (2 d x)-28 a^2 b^2 \sinh (2 d x)-32 a b^3 \sinh (2 d x)+3 a^4 \sinh (2 (c+2 d x))-3 a^3 b \sinh (2 (c+2 d x))-6 a^2 b^2 \sinh (2 (c+2 d x))-3 a^4 \sinh (4 c+2 d x)+a^3 b \sinh (4 c+2 d x)+20 a^2 b^2 \sinh (4 c+2 d x)+16 a b^3 \sinh (4 c+2 d x)\right )\right )}{128 a^3 b^2 d \left (a+b \text {sech}^2(c+d x)\right )^3} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
Integrate[Tanh[c + d*x]^6/(a + b*Sech[c + d*x]^2)^3,x]
[Out]
((a + 2*b + a*Cosh[2*(c + d*x)])*Sech[c + d*x]^6*((-2*(3*a^3 - a^2*b + 4*a*b^2 + 8*b^3)*ArcTanh[(Sech[d*x]*(Co
sh[2*c] - Sinh[2*c])*((a + 2*b)*Sinh[d*x] - a*Sinh[2*c + d*x]))/(2*Sqrt[a + b]*Sqrt[b*(Cosh[c] - Sinh[c])^4])]
*(a + 2*b + a*Cosh[2*(c + d*x)])^2*(Cosh[2*c] - Sinh[2*c]))/(Sqrt[a + b]*Sqrt[b*(Cosh[c] - Sinh[c])^4]) + Sech
[2*c]*(8*b^2*(3*a^2 + 8*a*b + 8*b^2)*d*x*Cosh[2*c] + 16*a*b^2*(a + 2*b)*d*x*Cosh[2*d*x] + 4*a^2*b^2*d*x*Cosh[2
*(c + 2*d*x)] + 16*a^2*b^2*d*x*Cosh[4*c + 2*d*x] + 32*a*b^3*d*x*Cosh[4*c + 2*d*x] + 4*a^2*b^2*d*x*Cosh[6*c + 4
*d*x] - 9*a^4*Sinh[2*c] - 15*a^3*b*Sinh[2*c] + 18*a^2*b^2*Sinh[2*c] + 72*a*b^3*Sinh[2*c] + 48*b^4*Sinh[2*c] +
9*a^4*Sinh[2*d*x] + 13*a^3*b*Sinh[2*d*x] - 28*a^2*b^2*Sinh[2*d*x] - 32*a*b^3*Sinh[2*d*x] + 3*a^4*Sinh[2*(c + 2
*d*x)] - 3*a^3*b*Sinh[2*(c + 2*d*x)] - 6*a^2*b^2*Sinh[2*(c + 2*d*x)] - 3*a^4*Sinh[4*c + 2*d*x] + a^3*b*Sinh[4*
c + 2*d*x] + 20*a^2*b^2*Sinh[4*c + 2*d*x] + 16*a*b^3*Sinh[4*c + 2*d*x])))/(128*a^3*b^2*d*(a + b*Sech[c + d*x]^
2)^3)
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(388\) vs.
\(2(134)=268\).
time = 3.08, size = 389, normalized size = 2.63
| | |
method |
result |
size |
| | |
derivativedivides |
\(\frac {\frac {\frac {2 \left (\frac {a \left (3 a^{3}+2 a^{2} b -5 a \,b^{2}-4 b^{3}\right ) \left (\tanh ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {\left (9 a^{3}-14 a^{2} b -19 a \,b^{2}+4 b^{3}\right ) a \left (\tanh ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {\left (9 a^{3}-14 a^{2} b -19 a \,b^{2}+4 b^{3}\right ) a \left (\tanh ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {a \left (3 a^{3}+2 a^{2} b -5 a \,b^{2}-4 b^{3}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}{8 b^{2}}\right )}{\left (a \left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+b \left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 a \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 b \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+a +b \right )^{2}}+\frac {\left (3 a^{3}-a^{2} b +4 a \,b^{2}+8 b^{3}\right ) \left (-\frac {\ln \left (\sqrt {a +b}\, \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b}+\sqrt {a +b}\right )}{4 \sqrt {b}\, \sqrt {a +b}}+\frac {\ln \left (\sqrt {a +b}\, \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b}+\sqrt {a +b}\right )}{4 \sqrt {b}\, \sqrt {a +b}}\right )}{4 b^{2}}}{a^{3}}+\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{a^{3}}-\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{a^{3}}}{d}\) |
\(389\) |
default |
\(\frac {\frac {\frac {2 \left (\frac {a \left (3 a^{3}+2 a^{2} b -5 a \,b^{2}-4 b^{3}\right ) \left (\tanh ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {\left (9 a^{3}-14 a^{2} b -19 a \,b^{2}+4 b^{3}\right ) a \left (\tanh ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {\left (9 a^{3}-14 a^{2} b -19 a \,b^{2}+4 b^{3}\right ) a \left (\tanh ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 b^{2}}+\frac {a \left (3 a^{3}+2 a^{2} b -5 a \,b^{2}-4 b^{3}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}{8 b^{2}}\right )}{\left (a \left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+b \left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 a \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 b \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+a +b \right )^{2}}+\frac {\left (3 a^{3}-a^{2} b +4 a \,b^{2}+8 b^{3}\right ) \left (-\frac {\ln \left (\sqrt {a +b}\, \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b}+\sqrt {a +b}\right )}{4 \sqrt {b}\, \sqrt {a +b}}+\frac {\ln \left (\sqrt {a +b}\, \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b}+\sqrt {a +b}\right )}{4 \sqrt {b}\, \sqrt {a +b}}\right )}{4 b^{2}}}{a^{3}}+\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{a^{3}}-\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{a^{3}}}{d}\) |
\(389\) |
risch |
\(\frac {x}{a^{3}}-\frac {3 a^{4} {\mathrm e}^{6 d x +6 c}-a^{3} b \,{\mathrm e}^{6 d x +6 c}-20 a^{2} b^{2} {\mathrm e}^{6 d x +6 c}-16 a \,b^{3} {\mathrm e}^{6 d x +6 c}+9 a^{4} {\mathrm e}^{4 d x +4 c}+15 a^{3} b \,{\mathrm e}^{4 d x +4 c}-18 a^{2} b^{2} {\mathrm e}^{4 d x +4 c}-72 a \,b^{3} {\mathrm e}^{4 d x +4 c}-48 b^{4} {\mathrm e}^{4 d x +4 c}+9 a^{4} {\mathrm e}^{2 d x +2 c}+13 a^{3} b \,{\mathrm e}^{2 d x +2 c}-28 a^{2} b^{2} {\mathrm e}^{2 d x +2 c}-32 a \,b^{3} {\mathrm e}^{2 d x +2 c}+3 a^{4}-3 a^{3} b -6 a^{2} b^{2}}{4 a^{3} b^{2} d \left (a \,{\mathrm e}^{4 d x +4 c}+2 a \,{\mathrm e}^{2 d x +2 c}+4 b \,{\mathrm e}^{2 d x +2 c}+a \right )^{2}}+\frac {3 \sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}+\frac {2 \sqrt {b \left (a +b \right )}+a +2 b}{a}\right )}{16 b^{3} d a}-\frac {\sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}+\frac {2 \sqrt {b \left (a +b \right )}+a +2 b}{a}\right )}{4 b^{2} d \,a^{2}}+\frac {\sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}+\frac {2 \sqrt {b \left (a +b \right )}+a +2 b}{a}\right )}{2 b d \,a^{3}}-\frac {3 \sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}-\frac {2 \sqrt {b \left (a +b \right )}-a -2 b}{a}\right )}{16 b^{3} d a}+\frac {\sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}-\frac {2 \sqrt {b \left (a +b \right )}-a -2 b}{a}\right )}{4 b^{2} d \,a^{2}}-\frac {\sqrt {b \left (a +b \right )}\, \ln \left ({\mathrm e}^{2 d x +2 c}-\frac {2 \sqrt {b \left (a +b \right )}-a -2 b}{a}\right )}{2 b d \,a^{3}}\) |
\(565\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(tanh(d*x+c)^6/(a+b*sech(d*x+c)^2)^3,x,method=_RETURNVERBOSE)
[Out]
1/d*(2/a^3*((1/8*a*(3*a^3+2*a^2*b-5*a*b^2-4*b^3)/b^2*tanh(1/2*d*x+1/2*c)^7+1/8*(9*a^3-14*a^2*b-19*a*b^2+4*b^3)
*a/b^2*tanh(1/2*d*x+1/2*c)^5+1/8*(9*a^3-14*a^2*b-19*a*b^2+4*b^3)*a/b^2*tanh(1/2*d*x+1/2*c)^3+1/8*a*(3*a^3+2*a^
2*b-5*a*b^2-4*b^3)/b^2*tanh(1/2*d*x+1/2*c))/(a*tanh(1/2*d*x+1/2*c)^4+b*tanh(1/2*d*x+1/2*c)^4+2*a*tanh(1/2*d*x+
1/2*c)^2-2*b*tanh(1/2*d*x+1/2*c)^2+a+b)^2+1/8*(3*a^3-a^2*b+4*a*b^2+8*b^3)/b^2*(-1/4/b^(1/2)/(a+b)^(1/2)*ln((a+
b)^(1/2)*tanh(1/2*d*x+1/2*c)^2+2*tanh(1/2*d*x+1/2*c)*b^(1/2)+(a+b)^(1/2))+1/4/b^(1/2)/(a+b)^(1/2)*ln((a+b)^(1/
2)*tanh(1/2*d*x+1/2*c)^2-2*tanh(1/2*d*x+1/2*c)*b^(1/2)+(a+b)^(1/2))))+1/a^3*ln(tanh(1/2*d*x+1/2*c)+1)-1/a^3*ln
(tanh(1/2*d*x+1/2*c)-1))
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 3239 vs.
\(2 (140) = 280\).
time = 1.13, size = 3239, normalized size = 21.89 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(tanh(d*x+c)^6/(a+b*sech(d*x+c)^2)^3,x, algorithm="maxima")
[Out]
-45/1024*(a + 2*b)*a*log((a*e^(2*d*x + 2*c) + a + 2*b - 2*sqrt((a + b)*b))/(a*e^(2*d*x + 2*c) + a + 2*b + 2*sq
rt((a + b)*b)))/((a^2*b^2 + 2*a*b^3 + b^4)*sqrt((a + b)*b)*d) - 9/512*a^2*log((a*e^(2*d*x + 2*c) + a + 2*b - 2
*sqrt((a + b)*b))/(a*e^(2*d*x + 2*c) + a + 2*b + 2*sqrt((a + b)*b)))/((a^2*b^2 + 2*a*b^3 + b^4)*sqrt((a + b)*b
)*d) + 45/1024*(a + 2*b)*a*log((a*e^(-2*d*x - 2*c) + a + 2*b - 2*sqrt((a + b)*b))/(a*e^(-2*d*x - 2*c) + a + 2*
b + 2*sqrt((a + b)*b)))/((a^2*b^2 + 2*a*b^3 + b^4)*sqrt((a + b)*b)*d) + 9/512*a^2*log((a*e^(-2*d*x - 2*c) + a
+ 2*b - 2*sqrt((a + b)*b))/(a*e^(-2*d*x - 2*c) + a + 2*b + 2*sqrt((a + b)*b)))/((a^2*b^2 + 2*a*b^3 + b^4)*sqrt
((a + b)*b)*d) - 1/1024*(3*a^5 - 10*a^4*b + 80*a^3*b^2 + 480*a^2*b^3 + 640*a*b^4 + 256*b^5)*log((a*e^(2*d*x +
2*c) + a + 2*b - 2*sqrt((a + b)*b))/(a*e^(2*d*x + 2*c) + a + 2*b + 2*sqrt((a + b)*b)))/((a^5*b^2 + 2*a^4*b^3 +
a^3*b^4)*sqrt((a + b)*b)*d) + 1/1024*(3*a^5 - 10*a^4*b + 80*a^3*b^2 + 480*a^2*b^3 + 640*a*b^4 + 256*b^5)*log(
(a*e^(-2*d*x - 2*c) + a + 2*b - 2*sqrt((a + b)*b))/(a*e^(-2*d*x - 2*c) + a + 2*b + 2*sqrt((a + b)*b)))/((a^5*b
^2 + 2*a^4*b^3 + a^3*b^4)*sqrt((a + b)*b)*d) + 5/256*(3*a^2 + 8*a*b + 8*b^2)*log((a*e^(-2*d*x - 2*c) + a + 2*b
- 2*sqrt((a + b)*b))/(a*e^(-2*d*x - 2*c) + a + 2*b + 2*sqrt((a + b)*b)))/((a^2*b^2 + 2*a*b^3 + b^4)*sqrt((a +
b)*b)*d) - 1/256*(3*a^6 - 12*a^5*b - 204*a^4*b^2 - 384*a^3*b^3 - 192*a^2*b^4 + (3*a^6 - 10*a^5*b - 560*a^4*b^
2 - 2080*a^3*b^3 - 2560*a^2*b^4 - 1024*a*b^5)*e^(6*d*x + 6*c) + (9*a^6 - 12*a^5*b - 1100*a^4*b^2 - 5248*a^3*b^
3 - 10304*a^2*b^4 - 9216*a*b^5 - 3072*b^6)*e^(4*d*x + 4*c) + (9*a^6 - 14*a^5*b - 864*a^4*b^2 - 3136*a^3*b^3 -
3840*a^2*b^4 - 1536*a*b^5)*e^(2*d*x + 2*c))/((a^7*b^2 + 2*a^6*b^3 + a^5*b^4 + (a^7*b^2 + 2*a^6*b^3 + a^5*b^4)*
e^(8*d*x + 8*c) + 4*(a^7*b^2 + 4*a^6*b^3 + 5*a^5*b^4 + 2*a^4*b^5)*e^(6*d*x + 6*c) + 2*(3*a^7*b^2 + 14*a^6*b^3
+ 27*a^5*b^4 + 24*a^4*b^5 + 8*a^3*b^6)*e^(4*d*x + 4*c) + 4*(a^7*b^2 + 4*a^6*b^3 + 5*a^5*b^4 + 2*a^4*b^5)*e^(2*
d*x + 2*c))*d) + 1/256*(3*a^6 - 12*a^5*b - 204*a^4*b^2 - 384*a^3*b^3 - 192*a^2*b^4 + (9*a^6 - 14*a^5*b - 864*a
^4*b^2 - 3136*a^3*b^3 - 3840*a^2*b^4 - 1536*a*b^5)*e^(-2*d*x - 2*c) + (9*a^6 - 12*a^5*b - 1100*a^4*b^2 - 5248*
a^3*b^3 - 10304*a^2*b^4 - 9216*a*b^5 - 3072*b^6)*e^(-4*d*x - 4*c) + (3*a^6 - 10*a^5*b - 560*a^4*b^2 - 2080*a^3
*b^3 - 2560*a^2*b^4 - 1024*a*b^5)*e^(-6*d*x - 6*c))/((a^7*b^2 + 2*a^6*b^3 + a^5*b^4 + 4*(a^7*b^2 + 4*a^6*b^3 +
5*a^5*b^4 + 2*a^4*b^5)*e^(-2*d*x - 2*c) + 2*(3*a^7*b^2 + 14*a^6*b^3 + 27*a^5*b^4 + 24*a^4*b^5 + 8*a^3*b^6)*e^
(-4*d*x - 4*c) + 4*(a^7*b^2 + 4*a^6*b^3 + 5*a^5*b^4 + 2*a^4*b^5)*e^(-6*d*x - 6*c) + (a^7*b^2 + 2*a^6*b^3 + a^5
*b^4)*e^(-8*d*x - 8*c))*d) - 3/128*(3*a^5 - 2*a^4*b - 24*a^3*b^2 - 16*a^2*b^3 + (3*a^5 - 128*a^3*b^2 - 256*a^2
*b^3 - 128*a*b^4)*e^(6*d*x + 6*c) + (9*a^5 + 18*a^4*b - 128*a^3*b^2 - 512*a^2*b^3 - 640*a*b^4 - 256*b^5)*e^(4*
d*x + 4*c) + (9*a^5 + 16*a^4*b - 112*a^3*b^2 - 256*a^2*b^3 - 128*a*b^4)*e^(2*d*x + 2*c))/((a^6*b^2 + 2*a^5*b^3
+ a^4*b^4 + (a^6*b^2 + 2*a^5*b^3 + a^4*b^4)*e^(8*d*x + 8*c) + 4*(a^6*b^2 + 4*a^5*b^3 + 5*a^4*b^4 + 2*a^3*b^5)
*e^(6*d*x + 6*c) + 2*(3*a^6*b^2 + 14*a^5*b^3 + 27*a^4*b^4 + 24*a^3*b^5 + 8*a^2*b^6)*e^(4*d*x + 4*c) + 4*(a^6*b
^2 + 4*a^5*b^3 + 5*a^4*b^4 + 2*a^3*b^5)*e^(2*d*x + 2*c))*d) + 3/128*(3*a^5 - 2*a^4*b - 24*a^3*b^2 - 16*a^2*b^3
+ (9*a^5 + 16*a^4*b - 112*a^3*b^2 - 256*a^2*b^3 - 128*a*b^4)*e^(-2*d*x - 2*c) + (9*a^5 + 18*a^4*b - 128*a^3*b
^2 - 512*a^2*b^3 - 640*a*b^4 - 256*b^5)*e^(-4*d*x - 4*c) + (3*a^5 - 128*a^3*b^2 - 256*a^2*b^3 - 128*a*b^4)*e^(
-6*d*x - 6*c))/((a^6*b^2 + 2*a^5*b^3 + a^4*b^4 + 4*(a^6*b^2 + 4*a^5*b^3 + 5*a^4*b^4 + 2*a^3*b^5)*e^(-2*d*x - 2
*c) + 2*(3*a^6*b^2 + 14*a^5*b^3 + 27*a^4*b^4 + 24*a^3*b^5 + 8*a^2*b^6)*e^(-4*d*x - 4*c) + 4*(a^6*b^2 + 4*a^5*b
^3 + 5*a^4*b^4 + 2*a^3*b^5)*e^(-6*d*x - 6*c) + (a^6*b^2 + 2*a^5*b^3 + a^4*b^4)*e^(-8*d*x - 8*c))*d) - 15/256*(
3*a^4 + 4*a^3*b + 4*a^2*b^2 + 3*(a^4 + 2*a^3*b)*e^(6*d*x + 6*c) + (9*a^4 + 36*a^3*b + 100*a^2*b^2 + 128*a*b^3
+ 64*b^4)*e^(4*d*x + 4*c) + (9*a^4 + 34*a^3*b + 48*a^2*b^2 + 32*a*b^3)*e^(2*d*x + 2*c))/((a^5*b^2 + 2*a^4*b^3
+ a^3*b^4 + (a^5*b^2 + 2*a^4*b^3 + a^3*b^4)*e^(8*d*x + 8*c) + 4*(a^5*b^2 + 4*a^4*b^3 + 5*a^3*b^4 + 2*a^2*b^5)*
e^(6*d*x + 6*c) + 2*(3*a^5*b^2 + 14*a^4*b^3 + 27*a^3*b^4 + 24*a^2*b^5 + 8*a*b^6)*e^(4*d*x + 4*c) + 4*(a^5*b^2
+ 4*a^4*b^3 + 5*a^3*b^4 + 2*a^2*b^5)*e^(2*d*x + 2*c))*d) + 15/256*(3*a^4 + 4*a^3*b + 4*a^2*b^2 + (9*a^4 + 34*a
^3*b + 48*a^2*b^2 + 32*a*b^3)*e^(-2*d*x - 2*c) + (9*a^4 + 36*a^3*b + 100*a^2*b^2 + 128*a*b^3 + 64*b^4)*e^(-4*d
*x - 4*c) + 3*(a^4 + 2*a^3*b)*e^(-6*d*x - 6*c))/((a^5*b^2 + 2*a^4*b^3 + a^3*b^4 + 4*(a^5*b^2 + 4*a^4*b^3 + 5*a
^3*b^4 + 2*a^2*b^5)*e^(-2*d*x - 2*c) + 2*(3*a^5*b^2 + 14*a^4*b^3 + 27*a^3*b^4 + 24*a^2*b^5 + 8*a*b^6)*e^(-4*d*
x - 4*c) + 4*(a^5*b^2 + 4*a^4*b^3 + 5*a^3*b^4 + 2*a^2*b^5)*e^(-6*d*x - 6*c) + (a^5*b^2 + 2*a^4*b^3 + a^3*b^4)*
e^(-8*d*x - 8*c))*d) + 5/64*(3*a^3 + 6*a^2*b + (9*a^3 + 40*a^2*b + 40*a*b^2)*e^(-2*d*x - 2*c) + 3*(3*a^3 + 14*
a^2*b + 24*a*b^2 + 16*b^3)*e^(-4*d*x - 4*c) + (...
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 2604 vs.
\(2 (140) = 280\).
time = 0.51, size = 5463, normalized size = 36.91 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(tanh(d*x+c)^6/(a+b*sech(d*x+c)^2)^3,x, algorithm="fricas")
[Out]
[1/16*(16*a^2*b^2*d*x*cosh(d*x + c)^8 + 128*a^2*b^2*d*x*cosh(d*x + c)*sinh(d*x + c)^7 + 16*a^2*b^2*d*x*sinh(d*
x + c)^8 - 4*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3 - 16*(a^2*b^2 + 2*a*b^3)*d*x)*cosh(d*x + c)^6 + 4*(112*a^2
*b^2*d*x*cosh(d*x + c)^2 - 3*a^4 + a^3*b + 20*a^2*b^2 + 16*a*b^3 + 16*(a^2*b^2 + 2*a*b^3)*d*x)*sinh(d*x + c)^6
+ 16*a^2*b^2*d*x + 8*(112*a^2*b^2*d*x*cosh(d*x + c)^3 - 3*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3 - 16*(a^2*b^
2 + 2*a*b^3)*d*x)*cosh(d*x + c))*sinh(d*x + c)^5 - 4*(9*a^4 + 15*a^3*b - 18*a^2*b^2 - 72*a*b^3 - 48*b^4 - 8*(3
*a^2*b^2 + 8*a*b^3 + 8*b^4)*d*x)*cosh(d*x + c)^4 + 4*(280*a^2*b^2*d*x*cosh(d*x + c)^4 - 9*a^4 - 15*a^3*b + 18*
a^2*b^2 + 72*a*b^3 + 48*b^4 + 8*(3*a^2*b^2 + 8*a*b^3 + 8*b^4)*d*x - 15*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3
- 16*(a^2*b^2 + 2*a*b^3)*d*x)*cosh(d*x + c)^2)*sinh(d*x + c)^4 - 12*a^4 + 12*a^3*b + 24*a^2*b^2 + 16*(56*a^2*b
^2*d*x*cosh(d*x + c)^5 - 5*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3 - 16*(a^2*b^2 + 2*a*b^3)*d*x)*cosh(d*x + c)^
3 - (9*a^4 + 15*a^3*b - 18*a^2*b^2 - 72*a*b^3 - 48*b^4 - 8*(3*a^2*b^2 + 8*a*b^3 + 8*b^4)*d*x)*cosh(d*x + c))*s
inh(d*x + c)^3 - 4*(9*a^4 + 13*a^3*b - 28*a^2*b^2 - 32*a*b^3 - 16*(a^2*b^2 + 2*a*b^3)*d*x)*cosh(d*x + c)^2 + 4
*(112*a^2*b^2*d*x*cosh(d*x + c)^6 - 15*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3 - 16*(a^2*b^2 + 2*a*b^3)*d*x)*co
sh(d*x + c)^4 - 9*a^4 - 13*a^3*b + 28*a^2*b^2 + 32*a*b^3 + 16*(a^2*b^2 + 2*a*b^3)*d*x - 6*(9*a^4 + 15*a^3*b -
18*a^2*b^2 - 72*a*b^3 - 48*b^4 - 8*(3*a^2*b^2 + 8*a*b^3 + 8*b^4)*d*x)*cosh(d*x + c)^2)*sinh(d*x + c)^2 + ((3*a
^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^8 + 8*(3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)*sinh(d*x + c)^7 + (3
*a^4 - 4*a^3*b + 8*a^2*b^2)*sinh(d*x + c)^8 + 4*(3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c)^6 + 4*(3*a^4 + 2*a^
3*b + 16*a*b^3 + 7*(3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^2)*sinh(d*x + c)^6 + 8*(7*(3*a^4 - 4*a^3*b + 8*
a^2*b^2)*cosh(d*x + c)^3 + 3*(3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c))*sinh(d*x + c)^5 + 2*(9*a^4 + 12*a^3*b
+ 16*a^2*b^2 + 32*a*b^3 + 64*b^4)*cosh(d*x + c)^4 + 2*(35*(3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^4 + 9*a
^4 + 12*a^3*b + 16*a^2*b^2 + 32*a*b^3 + 64*b^4 + 30*(3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c)^2)*sinh(d*x + c
)^4 + 3*a^4 - 4*a^3*b + 8*a^2*b^2 + 8*(7*(3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^5 + 10*(3*a^4 + 2*a^3*b +
16*a*b^3)*cosh(d*x + c)^3 + (9*a^4 + 12*a^3*b + 16*a^2*b^2 + 32*a*b^3 + 64*b^4)*cosh(d*x + c))*sinh(d*x + c)^
3 + 4*(3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c)^2 + 4*(7*(3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^6 + 15*(
3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c)^4 + 3*a^4 + 2*a^3*b + 16*a*b^3 + 3*(9*a^4 + 12*a^3*b + 16*a^2*b^2 +
32*a*b^3 + 64*b^4)*cosh(d*x + c)^2)*sinh(d*x + c)^2 + 8*((3*a^4 - 4*a^3*b + 8*a^2*b^2)*cosh(d*x + c)^7 + 3*(3*
a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c)^5 + (9*a^4 + 12*a^3*b + 16*a^2*b^2 + 32*a*b^3 + 64*b^4)*cosh(d*x + c)^
3 + (3*a^4 + 2*a^3*b + 16*a*b^3)*cosh(d*x + c))*sinh(d*x + c))*sqrt((a + b)/b)*log((a^2*cosh(d*x + c)^4 + 4*a^
2*cosh(d*x + c)*sinh(d*x + c)^3 + a^2*sinh(d*x + c)^4 + 2*(a^2 + 2*a*b)*cosh(d*x + c)^2 + 2*(3*a^2*cosh(d*x +
c)^2 + a^2 + 2*a*b)*sinh(d*x + c)^2 + a^2 + 8*a*b + 8*b^2 + 4*(a^2*cosh(d*x + c)^3 + (a^2 + 2*a*b)*cosh(d*x +
c))*sinh(d*x + c) + 4*(a*b*cosh(d*x + c)^2 + 2*a*b*cosh(d*x + c)*sinh(d*x + c) + a*b*sinh(d*x + c)^2 + a*b + 2
*b^2)*sqrt((a + b)/b))/(a*cosh(d*x + c)^4 + 4*a*cosh(d*x + c)*sinh(d*x + c)^3 + a*sinh(d*x + c)^4 + 2*(a + 2*b
)*cosh(d*x + c)^2 + 2*(3*a*cosh(d*x + c)^2 + a + 2*b)*sinh(d*x + c)^2 + 4*(a*cosh(d*x + c)^3 + (a + 2*b)*cosh(
d*x + c))*sinh(d*x + c) + a)) + 8*(16*a^2*b^2*d*x*cosh(d*x + c)^7 - 3*(3*a^4 - a^3*b - 20*a^2*b^2 - 16*a*b^3 -
16*(a^2*b^2 + 2*a*b^3)*d*x)*cosh(d*x + c)^5 - 2*(9*a^4 + 15*a^3*b - 18*a^2*b^2 - 72*a*b^3 - 48*b^4 - 8*(3*a^2
*b^2 + 8*a*b^3 + 8*b^4)*d*x)*cosh(d*x + c)^3 - (9*a^4 + 13*a^3*b - 28*a^2*b^2 - 32*a*b^3 - 16*(a^2*b^2 + 2*a*b
^3)*d*x)*cosh(d*x + c))*sinh(d*x + c))/(a^5*b^2*d*cosh(d*x + c)^8 + 8*a^5*b^2*d*cosh(d*x + c)*sinh(d*x + c)^7
+ a^5*b^2*d*sinh(d*x + c)^8 + a^5*b^2*d + 4*(a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c)^6 + 4*(7*a^5*b^2*d*cosh(d*x
+ c)^2 + (a^5*b^2 + 2*a^4*b^3)*d)*sinh(d*x + c)^6 + 2*(3*a^5*b^2 + 8*a^4*b^3 + 8*a^3*b^4)*d*cosh(d*x + c)^4 +
8*(7*a^5*b^2*d*cosh(d*x + c)^3 + 3*(a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c))*sinh(d*x + c)^5 + 2*(35*a^5*b^2*d*co
sh(d*x + c)^4 + 30*(a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c)^2 + (3*a^5*b^2 + 8*a^4*b^3 + 8*a^3*b^4)*d)*sinh(d*x +
c)^4 + 4*(a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c)^2 + 8*(7*a^5*b^2*d*cosh(d*x + c)^5 + 10*(a^5*b^2 + 2*a^4*b^3)*
d*cosh(d*x + c)^3 + (3*a^5*b^2 + 8*a^4*b^3 + 8*a^3*b^4)*d*cosh(d*x + c))*sinh(d*x + c)^3 + 4*(7*a^5*b^2*d*cosh
(d*x + c)^6 + 15*(a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c)^4 + 3*(3*a^5*b^2 + 8*a^4*b^3 + 8*a^3*b^4)*d*cosh(d*x +
c)^2 + (a^5*b^2 + 2*a^4*b^3)*d)*sinh(d*x + c)^2 + 8*(a^5*b^2*d*cosh(d*x + c)^7 + 3*(a^5*b^2 + 2*a^4*b^3)*d*cos
h(d*x + c)^5 + (3*a^5*b^2 + 8*a^4*b^3 + 8*a^3*b^4)*d*cosh(d*x + c)^3 + (a^5*b^2 + 2*a^4*b^3)*d*cosh(d*x + c))*
sinh(d*x + c)), 1/8*(8*a^2*b^2*d*x*cosh(d*x + c...
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tanh ^{6}{\left (c + d x \right )}}{\left (a + b \operatorname {sech}^{2}{\left (c + d x \right )}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(tanh(d*x+c)**6/(a+b*sech(d*x+c)**2)**3,x)
[Out]
Integral(tanh(c + d*x)**6/(a + b*sech(c + d*x)**2)**3, x)
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 354 vs.
\(2 (140) = 280\).
time = 3.26, size = 354, normalized size = 2.39 \begin {gather*} \frac {\frac {8 \, {\left (d x + c\right )}}{a^{3}} - \frac {{\left (3 \, a^{3} - a^{2} b + 4 \, a b^{2} + 8 \, b^{3}\right )} \arctan \left (\frac {a e^{\left (2 \, d x + 2 \, c\right )} + a + 2 \, b}{2 \, \sqrt {-a b - b^{2}}}\right )}{\sqrt {-a b - b^{2}} a^{3} b^{2}} - \frac {2 \, {\left (3 \, a^{4} e^{\left (6 \, d x + 6 \, c\right )} - a^{3} b e^{\left (6 \, d x + 6 \, c\right )} - 20 \, a^{2} b^{2} e^{\left (6 \, d x + 6 \, c\right )} - 16 \, a b^{3} e^{\left (6 \, d x + 6 \, c\right )} + 9 \, a^{4} e^{\left (4 \, d x + 4 \, c\right )} + 15 \, a^{3} b e^{\left (4 \, d x + 4 \, c\right )} - 18 \, a^{2} b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 72 \, a b^{3} e^{\left (4 \, d x + 4 \, c\right )} - 48 \, b^{4} e^{\left (4 \, d x + 4 \, c\right )} + 9 \, a^{4} e^{\left (2 \, d x + 2 \, c\right )} + 13 \, a^{3} b e^{\left (2 \, d x + 2 \, c\right )} - 28 \, a^{2} b^{2} e^{\left (2 \, d x + 2 \, c\right )} - 32 \, a b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 3 \, a^{4} - 3 \, a^{3} b - 6 \, a^{2} b^{2}\right )}}{{\left (a e^{\left (4 \, d x + 4 \, c\right )} + 2 \, a e^{\left (2 \, d x + 2 \, c\right )} + 4 \, b e^{\left (2 \, d x + 2 \, c\right )} + a\right )}^{2} a^{3} b^{2}}}{8 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(tanh(d*x+c)^6/(a+b*sech(d*x+c)^2)^3,x, algorithm="giac")
[Out]
1/8*(8*(d*x + c)/a^3 - (3*a^3 - a^2*b + 4*a*b^2 + 8*b^3)*arctan(1/2*(a*e^(2*d*x + 2*c) + a + 2*b)/sqrt(-a*b -
b^2))/(sqrt(-a*b - b^2)*a^3*b^2) - 2*(3*a^4*e^(6*d*x + 6*c) - a^3*b*e^(6*d*x + 6*c) - 20*a^2*b^2*e^(6*d*x + 6*
c) - 16*a*b^3*e^(6*d*x + 6*c) + 9*a^4*e^(4*d*x + 4*c) + 15*a^3*b*e^(4*d*x + 4*c) - 18*a^2*b^2*e^(4*d*x + 4*c)
- 72*a*b^3*e^(4*d*x + 4*c) - 48*b^4*e^(4*d*x + 4*c) + 9*a^4*e^(2*d*x + 2*c) + 13*a^3*b*e^(2*d*x + 2*c) - 28*a^
2*b^2*e^(2*d*x + 2*c) - 32*a*b^3*e^(2*d*x + 2*c) + 3*a^4 - 3*a^3*b - 6*a^2*b^2)/((a*e^(4*d*x + 4*c) + 2*a*e^(2
*d*x + 2*c) + 4*b*e^(2*d*x + 2*c) + a)^2*a^3*b^2))/d
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left ({\mathrm {cosh}\left (c+d\,x\right )}^2-1\right )}^3}{{\left (a\,{\mathrm {cosh}\left (c+d\,x\right )}^2+b\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(tanh(c + d*x)^6/(a + b/cosh(c + d*x)^2)^3,x)
[Out]
int((cosh(c + d*x)^2 - 1)^3/(b + a*cosh(c + d*x)^2)^3, x)
________________________________________________________________________________________